package xml;

// 演示配置信息
public class Config {
	
	
	private int task_interval;
	private int page_count;
	private int time_threshold;
	private int size_lower_limit;
	private int size_topper_limit;
	private boolean teacher_clean_power;
	
	
	
	private String minSizeDesc;
	private String maxSizeDesc;
	private String writableDesc;
	
	public Config() {
		minSizeDesc = "文件的长度下限（字节），低于此值发出警告";
		maxSizeDesc = "文件的长度上限（字节），高于此值发出警告";
		writableDesc = "是否允许写入";
	}
//	public Config(String name) {
//		this.name = name;
//		// 设置默认值
//		minSizeDesc = "文件的长度下限（字节），低于此值发出警告";
//		minSize = 512;
//		maxSizeDesc = "文件的长度上限（字节），高于此值发出警告";
//		maxSize = 128*1024;
//		writableDesc = "是否允许写入";
//		writable = true;
//	}
	public int getTask_interval() {
		return task_interval;
	}
	public void setTask_interval(int task_interval) {
		this.task_interval = task_interval;
	}
	public int getPage_count() {
		return page_count;
	}
	public void setPage_count(int page_count) {
		this.page_count = page_count;
	}
	public int getTime_threshold() {
		return time_threshold;
	}
	public void setTime_threshold(int time_threshold) {
		this.time_threshold = time_threshold;
	}
	public int getSize_lower_limit() {
		return size_lower_limit;
	}
	public void setSize_lower_limit(int size_lower_limit) {
		this.size_lower_limit = size_lower_limit;
	}
	public int getSize_topper_limit() {
		return size_topper_limit;
	}
	public void setSize_topper_limit(int size_topper_limit) {
		this.size_topper_limit = size_topper_limit;
	}
	public boolean getTeacher_clean_power() {
		return teacher_clean_power;
	}
	public void setTeacher_clean_power(boolean teacher_clean_power) {
		this.teacher_clean_power = teacher_clean_power;
	}
	
	
	
}
